package com.action;

import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;

public class InitServlet extends HttpServlet {

    private static final long serialVersionUID = -6846431537316841420L;

    @Override
    public void init(ServletConfig config) throws ServletException {
        String path = config.getServletContext().getRealPath("/");
        System.setProperty("REAL_PATH", path);
    }

}
